﻿// ===============================================================================
// XCI.NET 西安交通信息WinForm开发框架 2018 版权所有
// ===============================================================================

using XCI.Config;

namespace XCI.Sys.Settings
{
    public class LoginModernSetting
    {
        private static LoginModernSetting _instance;
        /// <summary>
        /// 配置对象
        /// </summary>
        public static LoginModernSetting Instance
        {
            get { return _instance ?? (_instance = ConfigFactory.Default.Get("LoginModern", () => new LoginModernSetting())); }
        }

        /// <summary>
        /// 背景图片
        /// </summary>
        public string BackgroundImage { get; set; } = "Asset\\Background\\BackImage2.png";

        /// <summary>
        /// 背景颜色
        /// </summary>
        public string BackgroundColor { get; set; }

        /// <summary>
        /// 透明度
        /// </summary>
        public int Opacity { get; set; } = 100;

        /// <summary>
        /// 用户图片
        /// </summary>
        public string UserImage { get; set; } = "Asset\\User\\usertile1.bmp";
    }
}